﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MasterPage.master" AutoEventWireup="true"
    CodeFile="BidDetails.aspx.cs" Inherits="Page_Bids_BidsDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicBidInfo" runat="server" ImageUrl="~/Images/Bids/bgpicBidInfoTop.png" />
        </div>
        <div id="BidsState">
            <div class="TopStyle" style="color: Black;">
                Bid's State</div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat" style="text-align: center">
                <asp:Label ID="lblBidState" runat="server" Text="Available!" Font-Bold="True" Font-Names="Times New Roman"
                    Font-Size="XX-Large" ForeColor="#CC0000"></asp:Label>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div id="BidDetails">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:DetailsView ID="dvBidInfo" runat="server" AutoGenerateRows="False" CssClass="DataViewStyle"
                    GridLines="None">
                    <Fields>
                        <asp:BoundField HeaderText="Title" DataField="BidTitle">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Industry" DataField="BidIndustry">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Contact" DataField="ContactType">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Address" DataField="BidAddress">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Phone" DataField="BidPhone">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Fax" DataField="BidFax">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Email" DataField="BidEmail">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Opening Date" DataField="StartDate">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Expiration Date" DataField="EndDate">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="Detail" DataField="BidDetail">
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                    </Fields>
                </asp:DetailsView>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnBidInfoBack" runat="server" ImageUrl="~/Images/btnPublicBack.png"
                                OnClick="btnBidInfoBack_Click" CausesValidation="False" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="BidsPlusInfo">
            <div class="TopStyle" style="color:#CC0000">
                Bid's Plus Info.
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:GridView ID="GVbullet" runat="server" AutoGenerateColumns="False" Width="504px"
                    EmptyDataText="NoData" CssClass="DataViewStyle" GridLines="None" 
                    AllowPaging="True" onpageindexchanging="GVbullet_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label7" runat="server" Text="Title"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label8" runat="server" Text='<%# Eval("BulletinTitle") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="150px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label9" runat="server" Text="Detail"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label10" runat="server" Text='<%# Eval("BulletinDetail") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="230px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label11" runat="server" Text="Date"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label12" runat="server" Text='<%# Eval("BulletinDate") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="100px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle ForeColor="#CC0000" />
                </asp:GridView>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div id="BidBulletin">
            <div class="TopStyle" style="color:#CC0000">
                Plus Bid's Info.
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table class="TableStyle">
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            <asp:Label ID="Label13" runat="server" Text="Title"></asp:Label>
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="txtBulletTitle" runat="server" Width="265px" 
                                CssClass="TextboxStyle"></asp:TextBox>
                                
                            
                        </td>
                        <td class="style2"><asp:Label ID="lTitle" runat="server" CssClass="ValidatorStyle"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" style="vertical-align: top;" width="150">
                            <asp:Label ID="Label14" runat="server" Text="Detail"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtBulletDetail" runat="server" Height="80px" TextMode="MultiLine"
                                Width="265px" CssClass="TextboxStyle"></asp:TextBox>
                            
                        </td>
                        <td style="vertical-align: top;"><asp:Label ID="lDetail" runat="server" CssClass="ValidatorStyle"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="TableHeaderStyle" width="150">
                            <asp:Label ID="Label15" runat="server" Text="Bidder Winner"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="DDWinner" runat="server" Width="268px" 
                                CssClass="DropDownListStyle">
                                <asp:ListItem>none</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnBidsPlusInfoSubmit" runat="server" ImageUrl="~/Images/btnPublicSubmit.png"
                                OnClick="btnBidsPlusInfoSubmit_Click" CausesValidation="False" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="BidsReply">
            <div class="TopStyle" style="color:#CC0000">
                Bid's Reply
            </div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:GridView ID="GVBidReply" runat="server" AutoGenerateColumns="False" CssClass="DataViewStyle"
                    GridLines="None" EmptyDataText="NoData" AllowPaging="True" 
                    onpageindexchanging="GVBidReply_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label3" runat="server" Text="Bidder"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:LinkButton ID="LBBidder" runat="server" Style="color: #0000CC; text-decoration: none;"
                                    CommandArgument='<%# Eval("ExpertId") %>' OnClick="LBBidder_Click" 
                                    Text='<%# Eval("ExpertId") %>' CausesValidation="False"></asp:LinkButton>
                            </ItemTemplate>
                            <ControlStyle Width="100px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label1" runat="server" Text="Content"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("ReplyDetail") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="280px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <asp:Label ID="Label4" runat="server" Text="Date"></asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("BidReplyDate") %>'></asp:Label>
                            </ItemTemplate>
                            <ControlStyle Width="100px" />
                            <HeaderStyle CssClass="DataHearderStyle" ForeColor="#CC0000"/>
                            <ItemStyle CssClass="DataItemStyle" />
                        </asp:TemplateField>
                    </Columns>
                  <EmptyDataRowStyle ForeColor="#CC0000" />
                </asp:GridView>
            </div>
            <div class="bgBottom">
            </div>
        </div>
        <div id="ReplyBid">
            <div class="TopStyle" style="color:#CC0000">
                Reply Bid</div>
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <table>
                    <tr>
                        <td colspan="2">
                            <asp:TextBox ID="txtReplyBid" runat="server" TextMode="MultiLine" CssClass="TextboxStyle"
                                Height="150px" Width="490px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 530px">
                            &nbsp;
                        </td>
                        <td class="validatorPostTable">
                            <asp:RequiredFieldValidator ID="rfvReplyBid" runat="server" ErrorMessage="Required."
                                Font-Bold="True" Font-Size="Small" ForeColor="#CC0000" ControlToValidate="txtReplyBid"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnReplyBidSubmit" runat="server" ImageUrl="~/Images/btnPublicSubmit.png"
                                OnClick="btnReplyBidSubmit_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
